package com.ruoyi.report_jl.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 粗集料报告详情(水筛法,干筛法)业务对象 report_jl_cjlbg_ba_detail
 *
 * @author tll
 * @date 2024-05-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportJlCjlbgBaDetailBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long detailId;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 序号
     */
    @NotBlank(message = "序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xuh;

    /**
     * 试验项目
     */
    @NotBlank(message = "试验项目不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiyxm;

    /**
     * 技术指标
     */
    @NotBlank(message = "技术指标不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiszb;

    /**
     * 检测结果
     */
    @NotNull(message = "检测结果不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiancjg;

    /**
     * 结果判定
     */
    @NotBlank(message = "结果判定不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiegpd;


}
